﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laohan.Common.Common
{
    /// <summary>
    /// 
    /// </summary>
    public class NetWorkInfo
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// mac地址
        /// </summary>
        public string MacAddress { get; set; }

        /// <summary>
        /// 速度
        /// </summary>
        public long Speed { get; set; }

        /// <summary>
        /// 指定网络接口类型
        /// </summary>
        public int NetworkInterfaceType { get; set; }

        /// <summary>
        /// 是否支持多播
        /// </summary>
        public string supportsMulticast { get; set; }

        /// <summary>
        /// 操作状态
        /// </summary>
        public string operationalStatus { get; set; }


        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 网关
        /// </summary>
        public string Gateway { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<IpInfo> IpInfo { get; set; }

        /// <summary>
        /// dns1
        /// </summary>
        public string Dns1 { get; set; }

        /// <summary>
        /// dns2
        /// </summary>
        public string Dns2 { get; set; }
    }

    /// <summary>
    /// ip信息
    /// </summary>
    public class IpInfo
    {
        /// <summary>
        /// ip地址
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 子网掩码
        /// </summary>
        public string IPMask { get; set; }
    }
}
